Build angular from source#160
Build angular from source#160alexeagle merged 9 commits intoangular:masterfrom gregmagolan:build-angular-from-source
Conversation
|
Build & e2e working. Still have a karma test failure with a long call stack that I haven't looked into yet. |
|
Karma test failure resolved |
|
Hmmm. Looks like the added memory load of building angular is crashing the JVM again. Lowered the memory usage in bazelrc some more. |
|
For reference: without the |
|
@gregmagolan this PR fix the ": Error: Could not resolve ./router.ngfactory " error ??? |
|
@jorgeucano Yes. This PR resolves angular/angular#24521 which was introduced in Angular 6.0.5. |
|
|
||
| # Install the dependencies from NPM | ||
| - run: bazel run @nodejs//:yarn install | ||
| # TODO(gmagolan): use `bazel run :install` once bootstrap issue resolved |
There was a problem hiding this comment.
file an issue to reference here
There was a problem hiding this comment.
| actual = "@nodejs//:yarn", | ||
| ) | ||
|
|
||
| alias( |
There was a problem hiding this comment.
maybe a comment that this is the place ts_library will look by default, allows us to omit explicit tsconfig attributes?
| node_repositories(package_json = ["//:package.json"]) | ||
|
|
||
| # 0.11.3: proper module resolution & check_rules_nodejs_version | ||
| check_rules_nodejs_version("0.11.3") |
There was a problem hiding this comment.
yeah users shouldn't need to do transitive checks
| test --test_output=errors | ||
|
|
||
| ################################ | ||
| # Temporary Settings for Ivy # |
There was a problem hiding this comment.
I mean, change the comment, ppl will think this means we are enabling Ivy in legacy mode
| @@ -0,0 +1,11 @@ | |||
| const protractorUtils = require('@angular/bazel/protractor-utils'); | |||
There was a problem hiding this comment.
since this repo is the canonical example, could you add more explanatory comments about when this file executes and how it relates to the protractor rule and the code under test?
| srcs = glob(["*.ts"]), | ||
| ) | ||
|
|
||
| protractor_web_test_suite( |
There was a problem hiding this comment.
maybe we should add comments with links to API docs now that they are published
There was a problem hiding this comment.
where did those get published to?
| @@ -1,3 +1,5 @@ | |||
| import 'tslib'; | |||
There was a problem hiding this comment.
maybe something in Angular should depend on it. Who actually uses a symbol that requires tslib to be present? It's related to the --noHelpers flag in the tsconfig right?
No description provided.